package com.fw.system.admin.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fw.annotation.Excel;
import com.fw.core.domain.BaseEntity;
import lombok.Data;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 钱包对象 tb_moneys
 * 
 * @author xxx
 * @date 2021-12-03
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("tb_moneys")
@ApiModel(value="钱包", description="钱包表")
public class TbMoneys extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    @ApiModelProperty(value = "${comment}")
    @TableField("id")
    private String id;

    /** 关联的用户id */
    @ApiModelProperty(value = "${comment}")
    @Excel(name = "关联的用户id")
    @TableField("user_id")
    private String userId;

    /** 余额 */
    @ApiModelProperty(value = "关联的用户id")
    @Excel(name = "余额")
    @TableField("amount")
    private BigDecimal amount;

    /** 修改时间 */
    @ApiModelProperty(value = "余额")
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "修改时间", width = 30, dateFormat = "yyyy-MM-dd")
    @TableField("up_time")
    private Date upTime;

    /** 0不可用 1可用 */
    @ApiModelProperty(value = "修改时间")
    @Excel(name = "0不可用 1可用")
    @TableField("is_status")
    private Long isStatus;




}
